<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPH::TriangleMeshShapeSTL Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_s_p_h.html">SPH</a></li><li class="navelem"><a class="el" href="class_s_p_h_1_1_triangle_mesh_shape_s_t_l.html">TriangleMeshShapeSTL</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_s_p_h_1_1_triangle_mesh_shape_s_t_l-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SPH::TriangleMeshShapeSTL Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Inherits <a class="el" href="class_s_p_h_1_1_triangle_mesh_shape.html">SPH::TriangleMeshShape</a>.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a92097ee79bd5aade0d4805300e91ecd4"><td class="memItemLeft" align="right" valign="top"><a id="a92097ee79bd5aade0d4805300e91ecd4"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>TriangleMeshShapeSTL</b> (const std::string &amp;file_path_name, Vec3d translation, Real scale_factor, const std::string &amp;shape_name=&quot;TriangleMeshShapeSTL&quot;)</td></tr>
<tr class="separator:a92097ee79bd5aade0d4805300e91ecd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a547578ae0bea7ecdca18dadb1f4aabf8"><td class="memItemLeft" align="right" valign="top"><a id="a547578ae0bea7ecdca18dadb1f4aabf8"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>TriangleMeshShapeSTL</b> (const std::string &amp;file_path_name, Mat3d rotation, Vec3d translation, Real scale_factor, const std::string &amp;shape_name=&quot;TriangleMeshShapeSTL&quot;)</td></tr>
<tr class="separator:a547578ae0bea7ecdca18dadb1f4aabf8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_triangle_mesh_shape"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_triangle_mesh_shape')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_triangle_mesh_shape.html">SPH::TriangleMeshShape</a></td></tr>
<tr class="memitem:ae2feb69c16e21d2192af6328c1c43686 inherit pub_methods_class_s_p_h_1_1_triangle_mesh_shape"><td class="memItemLeft" align="right" valign="top"><a id="ae2feb69c16e21d2192af6328c1c43686"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>TriangleMeshShape</b> (const std::string &amp;shape_name, const SimTK::PolygonalMesh *mesh=nullptr)</td></tr>
<tr class="separator:ae2feb69c16e21d2192af6328c1c43686 inherit pub_methods_class_s_p_h_1_1_triangle_mesh_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52a9f908023c330bc924cc25ad8886b9 inherit pub_methods_class_s_p_h_1_1_triangle_mesh_shape"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_triangle_mesh_shape.html#a52a9f908023c330bc924cc25ad8886b9">checkContain</a> (const Vec3d &amp;pnt, <a class="el" href="classbool.html">bool</a> BOUNDARY_INCLUDED=true) override</td></tr>
<tr class="separator:a52a9f908023c330bc924cc25ad8886b9 inherit pub_methods_class_s_p_h_1_1_triangle_mesh_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46411c554ca940e54a8ba390230efe28 inherit pub_methods_class_s_p_h_1_1_triangle_mesh_shape"><td class="memItemLeft" align="right" valign="top"><a id="a46411c554ca940e54a8ba390230efe28"></a>
virtual Vec3d&#160;</td><td class="memItemRight" valign="bottom"><b>findClosestPoint</b> (const Vec3d &amp;input_pnt) override</td></tr>
<tr class="separator:a46411c554ca940e54a8ba390230efe28 inherit pub_methods_class_s_p_h_1_1_triangle_mesh_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af18c38d607d28ef5f816d8384fc0c517 inherit pub_methods_class_s_p_h_1_1_triangle_mesh_shape"><td class="memItemLeft" align="right" valign="top"><a id="af18c38d607d28ef5f816d8384fc0c517"></a>
SimTK::ContactGeometry::TriangleMesh *&#160;</td><td class="memItemRight" valign="bottom"><b>getTriangleMesh</b> ()</td></tr>
<tr class="separator:af18c38d607d28ef5f816d8384fc0c517 inherit pub_methods_class_s_p_h_1_1_triangle_mesh_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_shape"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_shape')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_shape.html">SPH::Shape</a></td></tr>
<tr class="memitem:a1c9fde7ad7ef1883a53508fce789cfc8 inherit pub_methods_class_s_p_h_1_1_shape"><td class="memItemLeft" align="right" valign="top"><a id="a1c9fde7ad7ef1883a53508fce789cfc8"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Shape</b> (const std::string &amp;shape_name)</td></tr>
<tr class="separator:a1c9fde7ad7ef1883a53508fce789cfc8 inherit pub_methods_class_s_p_h_1_1_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace0e6216880b5ccb462523aa821a50b3 inherit pub_methods_class_s_p_h_1_1_shape"><td class="memItemLeft" align="right" valign="top"><a id="ace0e6216880b5ccb462523aa821a50b3"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>getName</b> ()</td></tr>
<tr class="separator:ace0e6216880b5ccb462523aa821a50b3 inherit pub_methods_class_s_p_h_1_1_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6337edd9c272044cb7f1fa60c927395 inherit pub_methods_class_s_p_h_1_1_shape"><td class="memItemLeft" align="right" valign="top"><a id="af6337edd9c272044cb7f1fa60c927395"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setName</b> (const std::string &amp;name)</td></tr>
<tr class="separator:af6337edd9c272044cb7f1fa60c927395 inherit pub_methods_class_s_p_h_1_1_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b193691a25da216949134ee547a1dd4 inherit pub_methods_class_s_p_h_1_1_shape"><td class="memItemLeft" align="right" valign="top"><a id="a0b193691a25da216949134ee547a1dd4"></a>
<a class="el" href="class_s_p_h_1_1_base_bounding_box.html">BoundingBox</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getBounds</b> ()</td></tr>
<tr class="separator:a0b193691a25da216949134ee547a1dd4 inherit pub_methods_class_s_p_h_1_1_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b46b069ecc818d37a2a0ed9ed0a3f82 inherit pub_methods_class_s_p_h_1_1_shape"><td class="memItemLeft" align="right" valign="top"><a id="a5b46b069ecc818d37a2a0ed9ed0a3f82"></a>
virtual <a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>isValid</b> ()</td></tr>
<tr class="separator:a5b46b069ecc818d37a2a0ed9ed0a3f82 inherit pub_methods_class_s_p_h_1_1_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac43842c011c397cf6f33e4be5f93d548 inherit pub_methods_class_s_p_h_1_1_shape"><td class="memItemLeft" align="right" valign="top"><a id="ac43842c011c397cf6f33e4be5f93d548"></a>
virtual <a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>checkContain</b> (const Vecd &amp;pnt, <a class="el" href="classbool.html">bool</a> BOUNDARY_INCLUDED=true)=0</td></tr>
<tr class="separator:ac43842c011c397cf6f33e4be5f93d548 inherit pub_methods_class_s_p_h_1_1_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2faac9429b32ffaea88f5236a2a04d4e inherit pub_methods_class_s_p_h_1_1_shape"><td class="memItemLeft" align="right" valign="top"><a id="a2faac9429b32ffaea88f5236a2a04d4e"></a>
virtual Vecd&#160;</td><td class="memItemRight" valign="bottom"><b>findClosestPoint</b> (const Vecd &amp;input_pnt)=0</td></tr>
<tr class="separator:a2faac9429b32ffaea88f5236a2a04d4e inherit pub_methods_class_s_p_h_1_1_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95e323f0bea0577f88c77e67b99743a5 inherit pub_methods_class_s_p_h_1_1_shape"><td class="memItemLeft" align="right" valign="top"><a id="a95e323f0bea0577f88c77e67b99743a5"></a>
<a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>checkNotFar</b> (const Vecd &amp;input_pnt, Real threshold)</td></tr>
<tr class="separator:a95e323f0bea0577f88c77e67b99743a5 inherit pub_methods_class_s_p_h_1_1_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1368ee142ede83fc6d7ef0ffae15b51 inherit pub_methods_class_s_p_h_1_1_shape"><td class="memItemLeft" align="right" valign="top"><a id="aa1368ee142ede83fc6d7ef0ffae15b51"></a>
<a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>checkNearSurface</b> (const Vecd &amp;input_pnt, Real threshold)</td></tr>
<tr class="separator:aa1368ee142ede83fc6d7ef0ffae15b51 inherit pub_methods_class_s_p_h_1_1_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22a00542237b211eddb3e54b8a6eb856 inherit pub_methods_class_s_p_h_1_1_shape"><td class="memItemLeft" align="right" valign="top">Real&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_shape.html#a22a00542237b211eddb3e54b8a6eb856">findSignedDistance</a> (const Vecd &amp;input_pnt)</td></tr>
<tr class="separator:a22a00542237b211eddb3e54b8a6eb856 inherit pub_methods_class_s_p_h_1_1_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfc828b144936617d50e977ae301b0e0 inherit pub_methods_class_s_p_h_1_1_shape"><td class="memItemLeft" align="right" valign="top">Vecd&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_shape.html#adfc828b144936617d50e977ae301b0e0">findNormalDirection</a> (const Vecd &amp;input_pnt)</td></tr>
<tr class="separator:adfc828b144936617d50e977ae301b0e0 inherit pub_methods_class_s_p_h_1_1_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_class_s_p_h_1_1_triangle_mesh_shape"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_s_p_h_1_1_triangle_mesh_shape')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_s_p_h_1_1_triangle_mesh_shape.html">SPH::TriangleMeshShape</a></td></tr>
<tr class="memitem:a8849f2ba782dd407263befca25e3b730 inherit pro_methods_class_s_p_h_1_1_triangle_mesh_shape"><td class="memItemLeft" align="right" valign="top"><a id="a8849f2ba782dd407263befca25e3b730"></a>
SimTK::ContactGeometry::TriangleMesh *&#160;</td><td class="memItemRight" valign="bottom"><b>generateTriangleMesh</b> (const SimTK::PolygonalMesh &amp;poly_mesh)</td></tr>
<tr class="separator:a8849f2ba782dd407263befca25e3b730 inherit pro_methods_class_s_p_h_1_1_triangle_mesh_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada6a1c4dc5507337ba699458e5adf2e9 inherit pro_methods_class_s_p_h_1_1_triangle_mesh_shape"><td class="memItemLeft" align="right" valign="top"><a id="ada6a1c4dc5507337ba699458e5adf2e9"></a>
virtual <a class="el" href="class_s_p_h_1_1_base_bounding_box.html">BoundingBox</a>&#160;</td><td class="memItemRight" valign="bottom"><b>findBounds</b> () override</td></tr>
<tr class="separator:ada6a1c4dc5507337ba699458e5adf2e9 inherit pro_methods_class_s_p_h_1_1_triangle_mesh_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_s_p_h_1_1_triangle_mesh_shape"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_s_p_h_1_1_triangle_mesh_shape')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_s_p_h_1_1_triangle_mesh_shape.html">SPH::TriangleMeshShape</a></td></tr>
<tr class="memitem:aa92b346b3bdc97d97fc1e62de0923163 inherit pro_attribs_class_s_p_h_1_1_triangle_mesh_shape"><td class="memItemLeft" align="right" valign="top"><a id="aa92b346b3bdc97d97fc1e62de0923163"></a>
SimTK::ContactGeometry::TriangleMesh *&#160;</td><td class="memItemRight" valign="bottom"><b>triangle_mesh_</b></td></tr>
<tr class="separator:aa92b346b3bdc97d97fc1e62de0923163 inherit pro_attribs_class_s_p_h_1_1_triangle_mesh_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_s_p_h_1_1_shape"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_s_p_h_1_1_shape')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_s_p_h_1_1_shape.html">SPH::Shape</a></td></tr>
<tr class="memitem:a8e6dd281937b9208b4cdd221e7feaa51 inherit pro_attribs_class_s_p_h_1_1_shape"><td class="memItemLeft" align="right" valign="top"><a id="a8e6dd281937b9208b4cdd221e7feaa51"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>name_</b></td></tr>
<tr class="separator:a8e6dd281937b9208b4cdd221e7feaa51 inherit pro_attribs_class_s_p_h_1_1_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a955c2bbaa9e4684d3b22658f05286458 inherit pro_attribs_class_s_p_h_1_1_shape"><td class="memItemLeft" align="right" valign="top"><a id="a955c2bbaa9e4684d3b22658f05286458"></a>
<a class="el" href="class_s_p_h_1_1_base_bounding_box.html">BoundingBox</a>&#160;</td><td class="memItemRight" valign="bottom"><b>bounding_box_</b></td></tr>
<tr class="separator:a955c2bbaa9e4684d3b22658f05286458 inherit pro_attribs_class_s_p_h_1_1_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18bd2c945133cc142708e14468a29d5d inherit pro_attribs_class_s_p_h_1_1_shape"><td class="memItemLeft" align="right" valign="top"><a id="a18bd2c945133cc142708e14468a29d5d"></a>
<a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>is_bounds_found_</b></td></tr>
<tr class="separator:a18bd2c945133cc142708e14468a29d5d inherit pro_attribs_class_s_p_h_1_1_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>SPHINXsys/src/for_3D_build/geometries/<a class="el" href="triangle__mesh__shape_8h_source.html">triangle_mesh_shape.h</a></li>
<li>SPHINXsys/src/for_3D_build/geometries/triangle_mesh_shape.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
